home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 9 / developer source - volume 9.iso / ieeeg / mar97 / ofekf117.gif < prev   
Graphics Interchange Format  |  1998-02-10  |  40.6 KB  |  429x387  |  4-bit (15 colors)
   ocr: 17 The modi- fied color accumulation procedure including high- light removal. struct Highughtintot RGB ald ie [1.m] RGB median integer counter CO03ACCUITUGLALONOUe N, Transtormation t, Image PA Integer m) ( ifN.t.countercm N.L.a/N.t.counter): EPIU(CIN)! N.t.countert N.t.counter+1 return if N.t.counter=m N.tmedian Hedlancacualain.tau forjeitom ifil IN.tall - N.medianil < threshold N.value - N.value * N.certainty + N.t.all N.certainty + I N.certanty € N.certainty+1 return fIIPILCIN)I = Nmedil < inresnold N.vale N.val * N.certainty + PIlL/(C(N)) N.certainty + 1 N.certainty N.certainty+1